div.am-modal > div.am-modal-dialog{
    div.am-modal-hd{
        p{
            padding: 5px;
            text-align: left;
            width: 100%;
            border-bottom: 2px #858585 dotted;
            margin-bottom: 10px;
        }
        a.am-close{
            top: 0;
            right: 6px;
            opacity : 1;
        }
    }
    
    div.am-modal-bd{
        text-align: left;
        border: none;
        p.tips{
            padding: 10px;
            text-align: center;
        }
        div.am-form-group{
            overflow: hidden;
            .am-form-label{
                padding-top: 2px;
            }
            .myInput{
                width: 100%;
            }
            span.formTips{
                font-size: 0.8em;
            }
        }
        div.rolePermissions{
            width: 100%;
            border: 1px #DDDCDC solid;
            div.head{
                width: 100%;
                background-color: #333;
                color: white;
                font-size: 0.9em;
                padding: 4px 8px;
                a{
                    @include link-colors(#fff,#E89922,#E89922,#fff,#fff);
                    float: right;
                    padding-left: 10px;
                }
            }
            div.body{
                padding: 0 15px;
                div.itemHead{
                    padding-top: 10px;
                    padding-bottom: 0;
                    overflow: hidden;
                    $imgWH : 20px;
                    img{
                        float: left;
                        width: $imgWH;
                        height: $imgWH;
                    }
                    span{
                        float: left;
                        display: block;
                        padding-left: 1em;
                        line-height: $imgWH;
                        font-size: 0.95em;
                    }
                }
                
                div.itemContent{
                    width: 100%;
                    >div{
                        margin: 6px 0;
                        width: 24%;
                        display: inline-block;
                    }
                }
            }
        }
    }
    
    div.buttons-area{
        padding: 10px;
        padding-top: 0;
        overflow: hidden;
        button{
            padding: 5px 40px;
            color: white;
        }
        .my-btn-save,.my-btn-ok{
            margin-right: 20px;
            background-color: #FFA017;
            border-color: #FFA017;
        }
    }
    
}
